
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li class="am-active">成员</li>
						  <li class="am-active"><#list list as item><#if role==item.id>${item.name}</#if></#list></li>
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-fl"><span class="iask-icon-kyonghuzuzhi iconfont sidebar-nav-link-logo"></span>成员列表</div>
								<div class="widget-function am-fr">
								<#if !(role==-1||role==0)>
                                    <a href="${Domain}my/user/add/${role}?url=${url}" class="am-icon-plus"    data-am-popover="{theme: 'success sm',content: '新增成员', trigger: 'hover focus'}"></a>
                                </#if>
                                </div>
                            </div>
                            <div class="widget-body  am-fr">

                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                   
                                </div>
                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                                    <div class="am-form-group tpl-table-list-select">
                                        <select data-am-selected="{btnSize: 'sm'}" onchange="window.location.href=this.value">
                                        <#list list as item>
                                         <option value="${Domain}my/user/list/${item.id}"  <#if role==item.id>selected</#if>>${item.name}</option> 
                                         </#list>
										 
							            </select>
                                    </div>
                                </div>
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                                	<#include "../common/search.ftl">
                                </div>

                                <div class="am-u-sm-12">
                                
                                
                                
                                <div class="am-scrollable-horizontal">
                                
                                    <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                <th width="80px">编号</th>
                                                <th>账号</th>
                                                <th>姓名</th>
                                                <th>电话</th>
                                                <th>邮箱</th>
                                                <th>职位</th>
                                                <th width="120px">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list page.list as item>
                                            <tr >
                                               <td>${item.id}</td>
                                                <td>${item.account}</td>
                                                <td>${item.name}</td>
                                                <td>${item.phone}</td>
                                                <td>${item.email}</td>
                                                <td>${item.position}</td>
                                                <td>
                                                  <#if item.id!=user.id>
                                                    <div class="tpl-table-black-operation">
                                                    
                                                        <a href="${Domain}my/user/change/${item.id}?url=${url}">
                                                            <i class="am-icon-pencil"></i> 编辑
                                                        </a>
                                                       
                                                        <a href="${Domain}my/user/init/${item.id}" class="tpl-table-black-operation-del">
                                                            <i class="am-icon-key"></i> 重置
                                                        </a>
                                                    </div>
                                                  <#else>
                                                  		<span>(已锁定)</span>
                                                  <!--
                                                   <div class="tpl-table-black-operation">
                                                        <a href="${Domain}my/info/update">
                                                            <i class="am-icon-pencil"></i> 编辑
                                                        </a>
                                                       
                                                        <a href="${Domain}my/info/resetpwd" class="tpl-table-black-operation-del">
                                                            <i class="am-icon-key"></i> 重置
                                                        </a>
                                                    </div>
                                                    -->
                                                 </#if>
                                                </td>
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </table>
                                    </div>
                                </div>
                              
                               <#include "../common/page.ftl">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
       
       
       
       
 </div>             
<#include "footer.ftl">